package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.entity.dto.CommentDTO;
import com.woniu.entity.vo.CommenteVO;
import com.woniu.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaosong
 * @since 2023-04-01
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {


    IPage<CommenteVO> selectall(IPage<CommenteVO> page,@Param("commentDTO") CommentDTO commentDTO);
}
